/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;
import javax.persistence.Temporal;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="DETALHESFATURAMENTOSTISS")
public class DetalhesFaturamentosTissProteu implements Serializable{

    @Id
    @Column(name="DFT_ST_CODIGO")
    private String dftStCodigo;
    @Id
    @Column(name="AGD_ST_CODIGO")
    private String agdStCodigo;

    @Column(name="PAC_ST_RG")
    private String pacStRG;
    @Column(name="DFT_DT_ATENDIMENTO")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date dftDtAtendimento;
    @Column(name="CON_ST_CODIGO")
    private String conStCodigo;
    @Column(name="PROC_ST_CODIGO_AMB")
    private String procStCodigoAmb;
    @Column(name="DFT_DT_CONS_VAL_CARTEIRINHA")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date dftDtConsValCarteirinha;
    @Column(name="DFT_ST_CONS_NUM_CNS")
    private String dftStConsNumCNS;
    @Column(name="DFT_ST_CONS_NUM_CNES")
    private String dftStConsNumCNES;
    @Column(name="TIL_ST_CONS_CODIGO")
    private String tilStConsCodigo;
    @Column(name="DFT_ST_CONS_CODIGO_IBGE")
    private String dftStConsCodigoIBGE;
    @Column(name="TID_ST_CONS_CODIGO")
    private String tidStConsCodigo;
    @Column(name="DFT_IN_CONS_TEMPO_DOENCA")
    private Integer dftInConsTempoDoenca;
    @Column(name="TED_ST_CONS_CODIGO")
    private String tedStConsCodigo;
    @Column(name="IDA_IN_CONS_CODIGO")
    private Integer idaInConsCodigo;
    @Column(name="DFT_ST_CONS_CID_PRINCIPAL")
    private String dftStConsCidPrincipal;
    @Column(name="DFT_ST_CONS_CID2")
    private String dftStConsCid2;
    @Column(name="DFT_ST_CONS_CID3")
    private String dftStConsCid3;
    @Column(name="DFT_ST_CONS_CID4")
    private String dftStConsCid4;
    @Column(name="DFT_ST_CONS_OBSERVACOES")
    private String dftStConsObservacoes;
    @Column(name="DFT_DT_SP_AUTORIZACAO")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date dftDtSpAutorizacao;
    @Column(name="DFT_ST_SP_SENHA_AUTORIZ")
    private String dftStSpSenhaAutoriz;
    @Column(name="DFT_DT_SP_VAL_SENHA")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date dftDtSpValSenha;
    @Column(name="DFT_DT_SP_VAL_CARTEIRINHA")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date dftDtSpValCarteirinha;
    @Column(name="DFT_ST_SP_NUM_CNS")
    private String dftStSpNumCNS;
    @Column(name="DFT_ST_SP_NUM_CNES")
    private String dftStSpNumCNES;
    @Column(name="DFT_ST_SP_NOME_SOLICITANTE")
    private String dftStSpNomeSolicitante;
    @Column(name="DFT_ST_SP_COD_CBOS_SOLIC")
    private String dftStSpCodCbosSolic;
    @Column(name="DFT_DT_SP_SOLICITACAO")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date dftDtSpSolicitacao;
    @Column(name="DFT_ST_SP_CID")
    private String dftStSpCid;
    @Lob
    @Column(name="DFT_BL_SP_INDICA_CLINICA")
    private String dftBlSpIndicaClinica;//blob
    @Column(name="TAB_ST_SP_CODIGO")
    private String tabStSpCodigo;
    @Column(name="TIL_ST_SP_CODIGO")
    private String tilStSpCodigo;
    @Column(name="DFT_ST_SP_CODIGO_IBGE")
    private String dftStSpCodigoIBGE;
    @Column(name="DFT_ST_SP_COD_OPERADORA")
    private String dftStSpCodOperadora;
    @Column(name="DFT_ST_SP_NOME_EXECUTANTE")
    private String dftStSpNomeExecutante;
    @Column(name="DFT_ST_SP_COD_CBOS_EXEC")
    private Integer dftStSpCodCbosExec;
    @Column(name="PPR_ST_SP_CODIGO")
    private String pprStSpCodigo;
    @Column(name="IDA_IN_SP_CODIGO")
    private Integer idaInSpCodigo;
    @Column(name="TID_ST_SP_CODIGO")
    private String tidStSpCodigo;
    @Column(name="DFT_IN_SP_TEMPO_DOENCA")
    private Integer dftInSpTempoDoenca;
    @Column(name="TED_ST_SP_CODIGO")
    private String tedStSpCodigo;
    @Column(name="DFT_ST_SP_HORA_INICIAL")
    private String dftStSpHoraInicial;
    @Column(name="DFT_ST_SP_HORA_FINAL")
    private String dftStSpHoraFinal;
    @Column(name="VIA_ST_SP_CODIGO")
    private String viaStSpCodigo;
    @Column(name="TCU_ST_SP_CODIGO")
    private String tcuStSpCodigo;
    @Column(name="DFT_ST_SP_OBSERVACOES")
    private String dftStSpObservacoes;
    @Column(name="DFT_FL_SP_REDUZ_ACRESC")
    private Float dftFlSpReduzAcresc;
    @Column(name="DFT_FL_SP_VLR_UNIT")
    private Float dftFlSpVlrUnit;
    @Column(name="DFT_FL_SP_VLR_TOTAL")
    private Float dftFlSpVlrTotal;
    @Column(name="DFT_FL_SP_VLR_PROCED")
    private Float dftFlSpVlrProced;
    @Column(name="DFT_FL_SP_VLR_TAXAS")
    private Float dftFlSpVlrTaxas;
    @Column(name="DFT_FL_SP_VLR_MATERIAIS")
    private Float dftFlSpVlrMateriais;
    @Column(name="DFT_FL_SP_VLR_MEDICTOS")
    private Float dftFlSpVlrMedictos;
    @Column(name="DFT_FL_SP_VLR_DIARIAS")
    private Float dftFlSpVlrDiarias;
    @Column(name="DFT_FL_SP_VLR_GASES")
    private Float dftFlSpVlrGases;
    @Column(name="DFT_FL_SP_VLR_GERAL_GUIA")
    private Float dftFlSpVlrGeralGuia;
    @Column(name="DFT_ST_SP_COD_TAB_OPM")
    private String dftStSpCodTabOpm;
    @Column(name="DFT_ST_SP_COD_OPM")
    private String dftStSpCodOpm;
    @Column(name="DFT_ST_SP_DESCRICAO_OPM")
    private String dftStSpDescricaoOpm;
    @Column(name="DFT_FL_SP_QTD_OPM")
    private Integer dftFlSpQtdOpm;
    @Column(name="DFT_ST_SP_FABRICA_OPM")
    private String dftStSpFabricaOpm;
    @Column(name="DFT_FL_SP_VLR_UNIT_OPM")
    private Float dftFlSpVlrUnitOpm;
    @Column(name="DFT_ST_SP_COD_BARRAS_OPM")
    private String dftStSpCodBarrasOpm;
    @Column(name="DFT_FL_SP_TOTAL_DA_OPM")
    private Float dftFlSpTotalDaOpm;
    @Column(name="DFT_FL_SP_TOTAL_OPM")
    private Float dftFlSpTotalOpm;


    public String getAgdStCodigo() {
        return agdStCodigo;
    }

    public void setAgdStCodigo(String agdStCodigo) {
        this.agdStCodigo = agdStCodigo;
    }

    public String getConStCodigo() {
        return conStCodigo;
    }

    public void setConStCodigo(String conStCodigo) {
        this.conStCodigo = conStCodigo;
    }

    public Integer getDftFlSpQtdOpm() {
        return dftFlSpQtdOpm;
    }

    public void setDftFlSpQtdOpm(Integer dftFlSpQtdOpm) {
        this.dftFlSpQtdOpm = dftFlSpQtdOpm;
    }

    public Float getDftFlSpReduzAcresc() {
        return dftFlSpReduzAcresc;
    }

    public void setDftFlSpReduzAcresc(Float dftFlSpReduzAcresc) {
        this.dftFlSpReduzAcresc = dftFlSpReduzAcresc;
    }

    public Float getDftFlSpTotalDaOpm() {
        return dftFlSpTotalDaOpm;
    }

    public void setDftFlSpTotalDaOpm(Float dftFlSpTotalDaOpm) {
        this.dftFlSpTotalDaOpm = dftFlSpTotalDaOpm;
    }

    public Float getDftFlSpTotalOpm() {
        return dftFlSpTotalOpm;
    }

    public void setDftFlSpTotalOpm(Float dftFlSpTotalOpm) {
        this.dftFlSpTotalOpm = dftFlSpTotalOpm;
    }

    public Float getDftFlSpVlrDiarias() {
        return dftFlSpVlrDiarias;
    }

    public void setDftFlSpVlrDiarias(Float dftFlSpVlrDiarias) {
        this.dftFlSpVlrDiarias = dftFlSpVlrDiarias;
    }

    public Float getDftFlSpVlrGases() {
        return dftFlSpVlrGases;
    }

    public void setDftFlSpVlrGases(Float dftFlSpVlrGases) {
        this.dftFlSpVlrGases = dftFlSpVlrGases;
    }

    public Float getDftFlSpVlrGeralGuia() {
        return dftFlSpVlrGeralGuia;
    }

    public void setDftFlSpVlrGeralGuia(Float dftFlSpVlrGeralGuia) {
        this.dftFlSpVlrGeralGuia = dftFlSpVlrGeralGuia;
    }

    public Float getDftFlSpVlrMateriais() {
        return dftFlSpVlrMateriais;
    }

    public void setDftFlSpVlrMateriais(Float dftFlSpVlrMateriais) {
        this.dftFlSpVlrMateriais = dftFlSpVlrMateriais;
    }

    public Float getDftFlSpVlrMedictos() {
        return dftFlSpVlrMedictos;
    }

    public void setDftFlSpVlrMedictos(Float dftFlSpVlrMedictos) {
        this.dftFlSpVlrMedictos = dftFlSpVlrMedictos;
    }

    public Float getDftFlSpVlrProced() {
        return dftFlSpVlrProced;
    }

    public void setDftFlSpVlrProced(Float dftFlSpVlrProced) {
        this.dftFlSpVlrProced = dftFlSpVlrProced;
    }

    public Float getDftFlSpVlrTaxas() {
        return dftFlSpVlrTaxas;
    }

    public void setDftFlSpVlrTaxas(Float dftFlSpVlrTaxas) {
        this.dftFlSpVlrTaxas = dftFlSpVlrTaxas;
    }

    public Float getDftFlSpVlrTotal() {
        return dftFlSpVlrTotal;
    }

    public void setDftFlSpVlrTotal(Float dftFlSpVlrTotal) {
        this.dftFlSpVlrTotal = dftFlSpVlrTotal;
    }

    public Float getDftFlSpVlrUnit() {
        return dftFlSpVlrUnit;
    }

    public void setDftFlSpVlrUnit(Float dftFlSpVlrUnit) {
        this.dftFlSpVlrUnit = dftFlSpVlrUnit;
    }

    public Float getDftFlSpVlrUnitOpm() {
        return dftFlSpVlrUnitOpm;
    }

    public void setDftFlSpVlrUnitOpm(Float dftFlSpVlrUnitOpm) {
        this.dftFlSpVlrUnitOpm = dftFlSpVlrUnitOpm;
    }

    public Integer getDftInSpTempoDoenca() {
        return dftInSpTempoDoenca;
    }

    public void setDftInSpTempoDoenca(Integer dftInSpTempoDoenca) {
        this.dftInSpTempoDoenca = dftInSpTempoDoenca;
    }

    public String getDftStSpCodBarrasOpm() {
        return dftStSpCodBarrasOpm;
    }

    public void setDftStSpCodBarrasOpm(String dftStSpCodBarrasOpm) {
        this.dftStSpCodBarrasOpm = dftStSpCodBarrasOpm;
    }

    public Integer getDftStSpCodCbosExec() {
        return dftStSpCodCbosExec;
    }

    public void setDftStSpCodCbosExec(Integer dftStSpCodCbosExec) {
        this.dftStSpCodCbosExec = dftStSpCodCbosExec;
    }

    public String getDftStSpCodOperadora() {
        return dftStSpCodOperadora;
    }

    public void setDftStSpCodOperadora(String dftStSpCodOperadora) {
        this.dftStSpCodOperadora = dftStSpCodOperadora;
    }

    public String getDftStSpCodOpm() {
        return dftStSpCodOpm;
    }

    public void setDftStSpCodOpm(String dftStSpCodOpm) {
        this.dftStSpCodOpm = dftStSpCodOpm;
    }

    public String getDftStSpCodTabOpm() {
        return dftStSpCodTabOpm;
    }

    public void setDftStSpCodTabOpm(String dftStSpCodTabOpm) {
        this.dftStSpCodTabOpm = dftStSpCodTabOpm;
    }

    public String getDftStSpCodigoIBGE() {
        return dftStSpCodigoIBGE;
    }

    public void setDftStSpCodigoIBGE(String dftStSpCodigoIBGE) {
        this.dftStSpCodigoIBGE = dftStSpCodigoIBGE;
    }

    public String getDftStSpDescricaoOpm() {
        return dftStSpDescricaoOpm;
    }

    public void setDftStSpDescricaoOpm(String dftStSpDescricaoOpm) {
        this.dftStSpDescricaoOpm = dftStSpDescricaoOpm;
    }

    public String getDftStSpFabricaOpm() {
        return dftStSpFabricaOpm;
    }

    public void setDftStSpFabricaOpm(String dftStSpFabricaOpm) {
        this.dftStSpFabricaOpm = dftStSpFabricaOpm;
    }

    public String getDftStSpHoraFinal() {
        return dftStSpHoraFinal;
    }

    public void setDftStSpHoraFinal(String dftStSpHoraFinal) {
        this.dftStSpHoraFinal = dftStSpHoraFinal;
    }

    public String getDftStSpHoraInicial() {
        return dftStSpHoraInicial;
    }

    public void setDftStSpHoraInicial(String dftStSpHoraInicial) {
        this.dftStSpHoraInicial = dftStSpHoraInicial;
    }

    public String getDftStSpNomeExecutante() {
        return dftStSpNomeExecutante;
    }

    public void setDftStSpNomeExecutante(String dftStSpNomeExecutante) {
        this.dftStSpNomeExecutante = dftStSpNomeExecutante;
    }

    public String getDftStSpObservacoes() {
        return dftStSpObservacoes;
    }

    public void setDftStSpObservacoes(String dftStSpObservacoes) {
        this.dftStSpObservacoes = dftStSpObservacoes;
    }

    public String getDftBlSpIndicaClinica() {
        return dftBlSpIndicaClinica;
    }

    public void setDftBlSpIndicaClinica(String dftBlSpIndicaClinica) {
        this.dftBlSpIndicaClinica = dftBlSpIndicaClinica;
    }

    public Date getDftDtConsValCarteirinha() {
        return dftDtConsValCarteirinha;
    }

    public void setDftDtConsValCarteirinha(Date dftDtConsValCarteirinha) {
        this.dftDtConsValCarteirinha = dftDtConsValCarteirinha;
    }

    public Date getDftDtSpAutorizacao() {
        return dftDtSpAutorizacao;
    }

    public void setDftDtSpAutorizacao(Date dftDtSpAutorizacao) {
        this.dftDtSpAutorizacao = dftDtSpAutorizacao;
    }

    public Date getDftDtSpSolicitacao() {
        return dftDtSpSolicitacao;
    }

    public void setDftDtSpSolicitacao(Date dftDtSpSolicitacao) {
        this.dftDtSpSolicitacao = dftDtSpSolicitacao;
    }

    public Date getDftDtSpValCarteirinha() {
        return dftDtSpValCarteirinha;
    }

    public void setDftDtSpValCarteirinha(Date dftDtSpValCarteirinha) {
        this.dftDtSpValCarteirinha = dftDtSpValCarteirinha;
    }

    public Date getDftDtSpValSenha() {
        return dftDtSpValSenha;
    }

    public void setDftDtSpValSenha(Date dftDtSpValSenha) {
        this.dftDtSpValSenha = dftDtSpValSenha;
    }

    public Integer getDftInConsTempoDoenca() {
        return dftInConsTempoDoenca;
    }

    public void setDftInConsTempoDoenca(Integer dftInConsTempoDoenca) {
        this.dftInConsTempoDoenca = dftInConsTempoDoenca;
    }

    public String getDftStCodigo() {
        return dftStCodigo;
    }

    public void setDftStCodigo(String dftStCodigo) {
        this.dftStCodigo = dftStCodigo;
    }

    public String getDftStConsCid2() {
        return dftStConsCid2;
    }

    public void setDftStConsCid2(String dftStConsCid2) {
        this.dftStConsCid2 = dftStConsCid2;
    }

    public String getDftStConsCid3() {
        return dftStConsCid3;
    }

    public void setDftStConsCid3(String dftStConsCid3) {
        this.dftStConsCid3 = dftStConsCid3;
    }

    public String getDftStConsCid4() {
        return dftStConsCid4;
    }

    public void setDftStConsCid4(String dftStConsCid4) {
        this.dftStConsCid4 = dftStConsCid4;
    }

    public String getDftStConsCidPrincipal() {
        return dftStConsCidPrincipal;
    }

    public void setDftStConsCidPrincipal(String dftStConsCidPrincipal) {
        this.dftStConsCidPrincipal = dftStConsCidPrincipal;
    }

    public String getDftStConsCodigoIBGE() {
        return dftStConsCodigoIBGE;
    }

    public void setDftStConsCodigoIBGE(String dftStConsCodigoIBGE) {
        this.dftStConsCodigoIBGE = dftStConsCodigoIBGE;
    }

    public String getDftStConsNumCNES() {
        return dftStConsNumCNES;
    }

    public void setDftStConsNumCNES(String dftStConsNumCNES) {
        this.dftStConsNumCNES = dftStConsNumCNES;
    }

    public String getDftStConsNumCNS() {
        return dftStConsNumCNS;
    }

    public void setDftStConsNumCNS(String dftStConsNumCNS) {
        this.dftStConsNumCNS = dftStConsNumCNS;
    }

    public String getDftStConsObservacoes() {
        return dftStConsObservacoes;
    }

    public void setDftStConsObservacoes(String dftStConsObservacoes) {
        this.dftStConsObservacoes = dftStConsObservacoes;
    }

    public String getDftStSpCid() {
        return dftStSpCid;
    }

    public void setDftStSpCid(String dftStSpCid) {
        this.dftStSpCid = dftStSpCid;
    }

    public String getDftStSpCodCbosSolic() {
        return dftStSpCodCbosSolic;
    }

    public void setDftStSpCodCbosSolic(String dftStSpCodCbosSolic) {
        this.dftStSpCodCbosSolic = dftStSpCodCbosSolic;
    }

    public String getDftStSpNomeSolicitante() {
        return dftStSpNomeSolicitante;
    }

    public void setDftStSpNomeSolicitante(String dftStSpNomeSolicitante) {
        this.dftStSpNomeSolicitante = dftStSpNomeSolicitante;
    }

    public String getDftStSpNumCNES() {
        return dftStSpNumCNES;
    }

    public void setDftStSpNumCNES(String dftStSpNumCNES) {
        this.dftStSpNumCNES = dftStSpNumCNES;
    }

    public String getDftStSpNumCNS() {
        return dftStSpNumCNS;
    }

    public void setDftStSpNumCNS(String dftStSpNumCNS) {
        this.dftStSpNumCNS = dftStSpNumCNS;
    }

    public String getDftStSpSenhaAutoriz() {
        return dftStSpSenhaAutoriz;
    }

    public void setDftStSpSenhaAutoriz(String dftStSpSenhaAutoriz) {
        this.dftStSpSenhaAutoriz = dftStSpSenhaAutoriz;
    }

    public Date getDftDtAtendimento() {
        return dftDtAtendimento;
    }

    public void setDftDtAtendimento(Date dftDtAtendimento) {
        this.dftDtAtendimento = dftDtAtendimento;
    }

    public Integer getIdaInConsCodigo() {
        return idaInConsCodigo;
    }

    public void setIdaInConsCodigo(Integer idaInConsCodigo) {
        this.idaInConsCodigo = idaInConsCodigo;
    }

    public Integer getIdaInSpCodigo() {
        return idaInSpCodigo;
    }

    public void setIdaInSpCodigo(Integer idaInSpCodigo) {
        this.idaInSpCodigo = idaInSpCodigo;
    }

    public String getPacStRG() {
        return pacStRG;
    }

    public void setPacStRG(String pacStRG) {
        this.pacStRG = pacStRG;
    }

    public String getPprStSpCodigo() {
        return pprStSpCodigo;
    }

    public void setPprStSpCodigo(String pprStSpCodigo) {
        this.pprStSpCodigo = pprStSpCodigo;
    }

    public String getProcStCodigoAmb() {
        return procStCodigoAmb;
    }

    public void setProcStCodigoAmb(String procStCodigoAmb) {
        this.procStCodigoAmb = procStCodigoAmb;
    }

    public String getTabStSpCodigo() {
        return tabStSpCodigo;
    }

    public void setTabStSpCodigo(String tabStSpCodigo) {
        this.tabStSpCodigo = tabStSpCodigo;
    }

    public String getTcuStSpCodigo() {
        return tcuStSpCodigo;
    }

    public void setTcuStSpCodigo(String tcuStSpCodigo) {
        this.tcuStSpCodigo = tcuStSpCodigo;
    }

    public String getTedStConsCodigo() {
        return tedStConsCodigo;
    }

    public void setTedStConsCodigo(String tedStConsCodigo) {
        this.tedStConsCodigo = tedStConsCodigo;
    }

    public String getTedStSpCodigo() {
        return tedStSpCodigo;
    }

    public void setTedStSpCodigo(String tedStSpCodigo) {
        this.tedStSpCodigo = tedStSpCodigo;
    }

    public String getTidStConsCodigo() {
        return tidStConsCodigo;
    }

    public void setTidStConsCodigo(String tidStConsCodigo) {
        this.tidStConsCodigo = tidStConsCodigo;
    }

    public String getTidStSpCodigo() {
        return tidStSpCodigo;
    }

    public void setTidStSpCodigo(String tidStSpCodigo) {
        this.tidStSpCodigo = tidStSpCodigo;
    }

    public String getTilStConsCodigo() {
        return tilStConsCodigo;
    }

    public void setTilStConsCodigo(String tilStConsCodigo) {
        this.tilStConsCodigo = tilStConsCodigo;
    }

    public String getTilStSpCodigo() {
        return tilStSpCodigo;
    }

    public void setTilStSpCodigo(String tilStSpCodigo) {
        this.tilStSpCodigo = tilStSpCodigo;
    }

    public String getViaStSpCodigo() {
        return viaStSpCodigo;
    }

    public void setViaStSpCodigo(String viaStSpCodigo) {
        this.viaStSpCodigo = viaStSpCodigo;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final DetalhesFaturamentosTissProteu other = (DetalhesFaturamentosTissProteu) obj;
        if ((this.dftStCodigo == null) ? (other.dftStCodigo != null) : !this.dftStCodigo.equals(other.dftStCodigo)) {
            return false;
        }
        if ((this.agdStCodigo == null) ? (other.agdStCodigo != null) : !this.agdStCodigo.equals(other.agdStCodigo)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 29 * hash + (this.dftStCodigo != null ? this.dftStCodigo.hashCode() : 0);
        hash = 29 * hash + (this.agdStCodigo != null ? this.agdStCodigo.hashCode() : 0);
        return hash;
    }

    

    

}
